package com.itheima.pojo;

import java.io.Serializable;

/**
 * 健康方案
 */
public class Plan implements Serializable {
    private int id;
    private String code;
    private String name;
    private String keyword;
    private String category;
    private String content;
    private String state;

    public Plan() {
    }

    public Plan(int id, String code, String name, String keyword, String category, String content, String state) {
        this.id = id;
        this.code = code;
        this.name = name;
        this.keyword = keyword;
        this.category = category;
        this.content = content;
        this.state = state;
    }

    @Override
    public String toString() {
        return "Plan{" +
                "id=" + id +
                ", code='" + code + '\'' +
                ", name='" + name + '\'' +
                ", keyword='" + keyword + '\'' +
                ", category='" + category + '\'' +
                ", content='" + content + '\'' +
                ", state='" + state + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }
}
